package com.gm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("admin")
public class AdminController {
    @RequestMapping("/enter")
    public String enter(){
        return "index";
}
    @RequestMapping("/toadmin")
    public String toadmin(){
        return "admin/admin_index";
}
    @RequestMapping("/toWelcome")
    public String toWelcome(){
        return "admin/toWelcome";
}
}
